<?php
	require("akses.php");
	connect();
	$password = $_POST["password"];
	$username = trim($_POST["username"]);
	$email = trim($_POST["email"]);
	if(strlen($password)<8){
		echo  "Your Password must be at least 8 digits";
	} else {
		if ($password==$username) {
			echo  "Your password must be different from your username";
		} else {
			if ($password==$email) {
				echo  "Your password must be different from your email";
			} else {
				echo "OK";
			}
		}
	}
?>